package com.example.mqttdemo.mapper;

import com.example.mqttdemo.entity.pojo.SensorData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author wangzihang
*/
@Mapper
public interface SensorDataMapper extends BaseMapper<SensorData> {

    SensorData selectLatest(String deviceId);
}




